/**
 * Created by 胡婉飞 on 2017/9/4.
 */
$(".nav-content ul li").each(function(index) {
    $(".nav-content ul li").eq(index).click(function () {
        $(".nav-content ul>li>a").removeClass('nav_active');
        $(".nav-content ul>li>a").eq(index).addClass("nav_active");
    });
});